package utilities.events;

import java.util.EventObject;

public class event 
	extends EventObject
{
	private static final long serialVersionUID = 6155813569476779192L;
	protected Object obj;
	protected int code;
	
	public event(Object source) 
	{
		super(source);
	}
	
	public event(Object source, Object obj)
	{
		this(source);
		this.obj = obj;
	}
	
	public event(Object source, Object obj, int code)
	{
		this(source);
		this.obj  = obj;
		this.code = code;
	}

	public Object getObj() 
	{
		return obj;
	}

	public int getCode() 
	{
		return code;
	}
}
